class Bet < ActiveRecord::Base
  belongs_to :match
  belongs_to :user
  
  def self.for_match_and_user match, user
    Bet.first :conditions => {:match_id => match.id, :user_id => user.id}    
  end
end
